<?php

include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/ByteArray.class.php');

class AlibabaProductReserveRange extends SDKDomain {

       	
    private $beginAmount;
    
        /**
    * @return 订货数量
    */
        public function getBeginAmount() {
        return $this->beginAmount;
    }
    
    /**
     * 设置订货数量     
     * @param Long $beginAmount     
     * 参数示例：<pre>100</pre>     
     * 此参数必填     */
    public function setBeginAmount( $beginAmount) {
        $this->beginAmount = $beginAmount;
    }
    
        	
    private $date;
    
        /**
    * @return 预计出货时间（天）
    */
        public function getDate() {
        return $this->date;
    }
    
    /**
     * 设置预计出货时间（天）     
     * @param Integer $date     
     * 参数示例：<pre>10</pre>     
     * 此参数必填     */
    public function setDate( $date) {
        $this->date = $date;
    }
    
        	
    private $endAmount;
    
        /**
    * @return 订货截止数量
    */
        public function getEndAmount() {
        return $this->endAmount;
    }
    
    /**
     * 设置订货截止数量     
     * @param Long $endAmount     
     * 参数示例：<pre>100</pre>     
     * 此参数必填     */
    public function setEndAmount( $endAmount) {
        $this->endAmount = $endAmount;
    }
    
        	
    private $quantity;
    
        /**
    * @return 订货起订数量
    */
        public function getQuantity() {
        return $this->quantity;
    }
    
    /**
     * 设置订货起订数量     
     * @param Long $quantity     
     * 参数示例：<pre>1000</pre>     
     * 此参数必填     */
    public function setQuantity( $quantity) {
        $this->quantity = $quantity;
    }
    
        	
    private $period;
    
        /**
    * @return 预计出货时间（天）
    */
        public function getPeriod() {
        return $this->period;
    }
    
    /**
     * 设置预计出货时间（天）     
     * @param Integer $period     
     * 参数示例：<pre>10</pre>     
     * 此参数必填     */
    public function setPeriod( $period) {
        $this->period = $period;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "beginAmount", $this->stdResult )) {
    				$this->beginAmount = $this->stdResult->{"beginAmount"};
    			}
    			    		    				    			    			if (array_key_exists ( "date", $this->stdResult )) {
    				$this->date = $this->stdResult->{"date"};
    			}
    			    		    				    			    			if (array_key_exists ( "endAmount", $this->stdResult )) {
    				$this->endAmount = $this->stdResult->{"endAmount"};
    			}
    			    		    				    			    			if (array_key_exists ( "quantity", $this->stdResult )) {
    				$this->quantity = $this->stdResult->{"quantity"};
    			}
    			    		    				    			    			if (array_key_exists ( "period", $this->stdResult )) {
    				$this->period = $this->stdResult->{"period"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "beginAmount", $this->arrayResult )) {
    			$this->beginAmount = $arrayResult['beginAmount'];
    			}
    		    	    			    		    			if (array_key_exists ( "date", $this->arrayResult )) {
    			$this->date = $arrayResult['date'];
    			}
    		    	    			    		    			if (array_key_exists ( "endAmount", $this->arrayResult )) {
    			$this->endAmount = $arrayResult['endAmount'];
    			}
    		    	    			    		    			if (array_key_exists ( "quantity", $this->arrayResult )) {
    			$this->quantity = $arrayResult['quantity'];
    			}
    		    	    			    		    			if (array_key_exists ( "period", $this->arrayResult )) {
    			$this->period = $arrayResult['period'];
    			}
    		    	    		}
 
   
}
?>